added ruby selector script