added createpost and scripthead