added -w to shebang line