python 2 imcompitiblity fix issue #39

changed syntax to support 2.6+

Also, changed subprocess call because .call causes cmd popups.