Added command initialization to Main