Added parameters to gen and view recommendations