added logic to run python script for cytoscape on Mac