Custom Python functions in the Prepare Recipe