Updated cs to provide directory-limited search