Moves and splits scripts.