Made proper IP block hosts
Made preview function.