running file for msmc after sampleing