using relative hostname and making db and build dirs