added autoclose and tab compltion scripts