Use environment to store data, instead of list

List does not work at build time from other packages