fixing script for feature flags