Various minor changes.

- Removed deprecated backticks.
- Changed comparison operators from `<` to `-lt` and so on.
- Removed unnecessary `echo` command for displaying productVersion.