Added ignore functionality to sync script. Removed accidentally commited debug modification.