onlined the make dir and the generate script