changes for windows for run stop and test scripts
initial start of sample detector