topR_and_onion generateScripts change