Check for correct modules and import them in globals