added use_cuses option back in, removed stack name incrementing to make more generic