Add a bunch of functions to preview + check if server is up