fix directory paths for required files