upstart scripts fixes