added multiple processor support & cleaned up casper script