Set execution environment as well.