added table prefix option