move schedule to an environment variable