convert to newer require import style