Add command option for max depth