Made resource files universal.
Make the shell script generate paths
Fixed what i broke with this in Firefox.