add plug for scaling php