added hall sensor script