Configured template and static directories