scripts updated (computing RF optimal params)