Added an option to disable the Alert()