implementing local env prep