Minor edits and commenting of SCRi.fn