modified startup of test shell and added run script