add 'var token=' in destination file