upgrade myscript

almost done