modifying files for debian and redhat