Creating a management command to handle various types of data