added code for table prefixes, so that the same DB can be reused for different experiments