Add closeport script