fix parenthesis to curley brackets in bash script