onlined the create dirs with the escript