remade script