rewrite localdev to use MAMP port