added wrapper for running many compands