Fixing deprecated backticks, unnecessary parse of LS, and unquoted vars