Business Deduction

I have a business that gives a lot of services away for free throughout the year. How can I claim the expenses for this business without IRS viewing it as a hobby?