modified run script