fixed indention and syntax
added rhel check to comment out requiretty