ml related scripts