added install script to help flush rewrites when needed