Added temp flags and efriends support.