Added support for on-build commands.
Added support for on-build commands.