tweaks to better in line jenkins and external script.