added flags to build apps