adding comment as well as setting the appropriate template directory when interface type is not specified