Fix hardcoded table name

Hardcoded table name fixed to use prefix from config file