Staff-level agreement reached on IMF loan