change close commands