updated for github, now works 100%