removed extraneous directory creation