update CSS styles, add common functions for multiple_replace and file_rename