updated todo, script routine updated