added walltime option... not sure how reasonable the default is, but 5 days is long enough for most jobs