First version of ball-following script