script to build all types and copying target files away