Updated to work with installation profiles.

Updated to work on installation profiles.
Extracted profile to an argument.
Added extra categories of features.
Added help message.
Added confirmation message.