Run generate script with bash