Hi Carolyn,
Pass the motion file using -regress_motion_file. As Peter notes, otherwise, AP does not have any file to apply for motion.
Another option is to consider adding an 'empty' block (to the -blocks list) to a complete AP command.
The resulting proc script would apply 3dcopy in the empty block, which you could replace with your wavelets despiking command.
- rick