Replace hudson with own script for build targets