Add automatic build script