Changed the mkdir to be absolute paths