Adding some error checking to osDollarATR