Updating upstart handler to support additional commands.