template file change mode to 644(why is it 755 before?)
add more symbols and minor amendment.
works better in -nw.