Add back multiple script environments

This should fix issue #37