Moving scripts to script.