Change the way upstart script is working