code tweaked after testing fresh github download
how-it-works edited