added make urls func to add posts