changed the pid location to the app