Updated locCounter script and added diffstat script