Updated service script for Ubuntu