Updating service to script