params must come before image and command.