fixed and newpost.sh modifications