Fix import collections & environments from file

Previously was not working, now it does.