Import master detail template