Added clone and mount functions to build script