Beat sugar, oil and apple sauce until the sugar until the sugar has disolved. You could use butter in place of the coconut oil and apple sauce but it isn't as healthy.
Add the egg, vanilla (use gluten free), sour cream (gelatin free), and fresh lime juice and mix.
Mix and sift together all the dry ingredients. Rice flour, xanthan, baking soda, baking powder, and salt.
Add the dry ingredients to the wet ingredients and mix.
Load a cookie press (which makes rather small cookies), and drop cookies on to an ungreased cookie sheet. If you don't have a cookie press you may want to cool the dough before dropping the cookies by spoon and press.
Bake at 350 for 5-10 minutes remove at the first sign of browning and place on a cooling rack. Length of baking and number of servings will depend on cookie size.