First, you should decide what you want:
Wish to queue up different defragmentation jobs to different drives, say firstly “defrag and fast optimization" to C: and secondly "defrag and move to end of disk" on D: .
The Automatic Weekly script does that but you have to add another FileSelect for the for the data disk part to move files to the end of the volume (if that's what you want).