made rand model own script