update to recommended posts logic
cleanup recommended query script