Added SLES support, fixed file permissions