updated to reflect ruby script changes