Export with resources works more or less