Updated dist build process