Small fixes and added sha1sum couter