add a new post and alter newpost.sh