Removed some leftover script code