Allow target to be specified via command line