updated script to append reblogging nodes