load command information in the constructor