Add validity check for .capt to work.