Libs/Functions: Added functions.prepare and functions.cond