Fix permission and shebang for visualize.py