service migrated to script only due to bad environment variables set by service