bash script to test motors