make a new in path to create links in perl from the json output; fix bugs in template and through data in gp details