add save method
Update scripts