Add in a chown portion to the reload_program script to hopefully get rid of these 500 errors.