made all scripts take in command line arguments for ease of use