more explicit isDev conditional on scripts templates