Rewrited script