code refactored in order to be runnable on MAC
Bump to version 3.0.77