update gitignore
restarting script, log exceptions to external file