added functionality to install optional rpms