modified p98 to remove map record after updating hits table. wont run until templates modified