Modify www build script to create product directories before building