Offline build

tested it long ago, recheck before first usage