Added map packet handler