support for specific post generation
removed unnecessary imports, accidental prints