MFW IMPORTS LOOP LULZ. Anyways, needs to be refactored more seriously, but at least it runs for now.