add option to list module deps
some changes