Modified skill adding to use str_replace.