added -o to linux version, fixed version numbers for win
Changed algorithm for call determination