write in .set_env_after_compile