Updated .gitignore, testing code in main script