Use write & onbuild
