improve formating
Correct variable interpolation issues with bash