Adding environment matrix