How scripts are made