Check and status are now fully working, controlling pid file and process