Fixed localhost handling bug & workflow refinements