update build script to include all files in a directory