script to append results