Clean up and adding of an sms command to the debug prompt