added extra rewrite rules, fixed deployment script typo