Fixing eggscript