Added changes to $0 fix for fedora also to the startup file generator.