added set_queue function
added defaults to set_queue
added boolean logic to switch variables
added walltime option; added flags to optargs