add only_one functionality
Merge branch 'karlserveless' of github.com:karlproject/karl into karlserveless