updated commandbar and command action to support inventory