making server rake task parametric