collapse example, env. setting script