Added functionality of dynamic column replacement in new table. #1260