Added in a user defined boolean variable that allows a user to determine to run in debugging mode.