General cleanup, moved the newpost script from ruby to shell