improve quality of run scripts