Script that replaces a pattern for the class name