add static and template directories