Change escape functionality