rename fname flags to user_flags