working on script automation