Added an exception around the code

Just added an exception around the code, in case the person forgets to build an ostools.cfg file.