Add error handler and beep on error params