cleaned up rb scripts