Working env generation. Removed some debugging from testing command.