Modified the shell-script file to include debug parameter