add fallback to manual variable for env_script priority