misc: copying env when starting gandalf