reverting -create-directories addition