Reduced the number of capsule commands, made them global