Added '-ex' to shebang to enable verbose debugging