make sure the script works with the table flag