changed generate script directory