added support for refreshing installed modules for refresh commands