Adding options parsing exeptions handling