Reverted to an earlier commit

Reverted to the earliest commit before it stopped working