Complete Rewrite shell