updated .framework build script