Tile export mechanism added. NOT TESTED