Fixed upstart script issues