moving include processing to a separate file