fixed build script. template task does not exist anymore