environment and migrations