refactored spec prerequisites for install generators