ADDED: core script