made global environments, fixed bugs with seed:refresh, etc