build script for flex projects