Bug fixes - incorrect function call to get file path for saving posts.