keeping variable after script exit