updated the close command script in the browser open class