Added initial work on updating USE flags automatically