Fixed dplyr pipe, fixed str_replace dependency