generate scanffold post and set root