Made localhost work