made domain another parameter instead of giving my domain in the file statically :P