set template and static path