bumped the version number
added external ip option
fix a few small bugs