Changed templates and checkout logic.