replace import statements