minor updates in rs.py