Only invoke run if a module has been selected.