Updated thesis
Using LOC in scripts