add style sheets and finish the add resource