Add getsetting/setsetting and debugon/debugoff options