Fixed cases in interface building script