Using "let" throws "missing ; before command"