Made it work with Linux again (sed is a bitch)