Add Function for generating Excel