wrapper to take command line args