Added ability to override path to index files in localhost links and port/batch commands