Move generate script into the scripts directory.