rewrite watermark.php