script for making html tables