BUGFIX: newlines were not being added after if/then/else statements