IMPORTANT CHANGE in logical operator

The logic NOT operator has been changed from '~' to '!' in order to
avoid confusion with the LS syntax.