add new window script fix typos