Done with the template render, need to complete the flag and log