added DB copy hack for testing