Updated case logic

If set to `t', there is no `car' to be obtained.  Changing the order ensures successful export