more script work in progress.