updating scripts and making sure code still works