Rewritten recipe lookup and now supports many differet queries.