Updating the scripts to have lot more debugging info