Generate correct CAD file if localhost or 127.0.0.1 is given in test2.sh