Use { } around variable
Use [[ ]] instead of [ ]