updates to support not only rhel 5 or 6, but also 6w. Update also protects $ in bootloader statement