updated import mechanism and linking+scoping