update for test
Updated to only create tables if they don't exist