Updating generate script and adding execution script