Changes to shell template and splice script
Modifications to shell script. Split also uses a temp folder now