scripts for building dist packages for dp4