Define variables after script has been loaded.