updated to allow selection of all tables

Was modifying for myself, thought it might be useful.  Adds * as an option that then generates the code for all tables.