modified scripts to fix erring paths