Updated with Larry's Edits
Made larry's changes to rmspool script