made it so trimCsp could check for the existence of the directory already so it didn’t fail on a seceond  pass