Fix some errors in sample_data command
Adding raven requirement