php5 recipe modified