Improved scripts for running robot