onbuild and cmd