Try to write my own build script