added strict mode + gitignore paths
added strict mode + gitignore paths + basic error handling