moved things up to main; added option to args input