Core/Scriptd: Rewrite :)