myscripts changed to code