automated kernel build script