Made keywords case insensitive and added esac. Issue #26.