Got rid of the nasty code from repo debug by ghub

Also took out code that github repeated during the debugging process