This uses the correct method of getting the environment variables and now correctly find the output directory. It needs more comments though.
This uses the correct method of getting the environment variables and now correctly find the output directory. It needs more comments though.