Added option for including linked modules and excluding repo folder