better import tool with PRETTY_URLS
refactored posts to take advantage of PRETTY_URLS