Update script to use env variable
Add tempral operation