So I need to power the op amp straight from the main power rail and remove the connection to Vout?
Edit: djQUAN, I've connected the op amp V+ supply to the main power rail (after the filter caps) and disconnected it from the 317's Vout. The ouput voltage is now stuck at maximum. Do I need to...