adapted scripts to robot conditions