changed up scripts to be much more intuitive, fixed a couple bugs