Update script's core