define run script for md-table