rewrite file onepage
newstyle onepage