edit the environment details and main file