made basic updates, read in arguments