added params file suport, many other updates as well