Cleaned up brackets and echo statements

Made some additional modifications to the bash script. On line 54 your backslash escapes the quotation. Also changed the backticks (`) to $() as its POSIX compliant.
Let’s make that change, then.