Moved hotbuild live functions to better place