Add switch to create a temporary table