move environment to a proper config