Moved scripts to resources of osx app and have nstask working with python script