Corrected sntax error in new case statement
Add -d Debug option to view debugging output to screen.

Signed-off-by: Darshit Shah <darnir@gmail.com>