Hardware control scripts for the goniometer