Prepare command