added pidfile to gitignore and made the running script store the pidfile of the newly craeted python process