add sha1 to path and remove extra lines