add environment variables to manage pad
add use of pad variables