The previous example failed for me due to a missing SKIP in stage5. While at it, complete the example with all steps needed to get an image generated.