Added a more robust solution for URL fixes, fixed raw.github.com references