Added option to disbable exeptions