Simplified one-and-done script

Combined the two scripts I had previously to one script that does
everything.