Must change directory back to starting directory if new directory not specified as Apache will change directory.