Changed confirmation msg
Added help text
Compressed function definitions into single switch statement