added code to not use ball sensor when shooting