add roottools (thanks stericson) and add max freq scaling