Corrected errors in upstart script and permissions