script almost ready