modify run script a bit to make both exactss and lshss work