move build stuff to scripts