rebuilt to remove blank lines and long directory paths