change directory before running sanity check
use lowercase name for extension sanity check
fix missing import