added a template for shell scripts
fixed switching for single/multi-line "if"