Adding --target options to tasks