bracket formatting, minor wording changes, uses return rather than echo and modifies templates to now echo