Write the path params to the env