remove unnecessary script
fix variable names
fix variable names
clean up
add a bunch of comments