Wanting to run a script in the background while doing other work

Hello all. I’m wondering is there a way to have my script process files in the background while i’m working on my desktop?
I would appreciate any help. Thanks.

	set the_container to choose folder
	
	if (count of items in the_container) is greater than 1 then
		tell me to activate
	end if
	
	tell application "Finder"
		try
			set fileNameList to (every file in entire contents of the_container whose name ends with ".pdf") as alias list
		on error
			set fileNameList to (every file in entire contents of the_container whose name ends with ".pdf") as alias as list
		end try
	end tell
	
	tell application "Adobe Acrobat Professional"
		activate
		repeat with iFile from 1 to count fileNameList
			set thisFilePath to item iFile of fileNameList
			set thisFilePath to thisFilePath as string
			open file thisFilePath
			
			tell application "System Events"
				tell process "Acrobat"
					delay 0.5
					click menu item "Enable Usage Rights in Adobe Reader..." of menu 1 of menu bar item "Advanced" of menu bar 1
					delay 1
					keystroke return
					delay 1
					keystroke return
					delay 1
					keystroke return
					delay 1
					tell window 1
						repeat until exists button "Replace"
							delay 0.5
						end repeat
						click button "Replace"
						delay 1
						tell application "Adobe Acrobat Professional"
							close last document
							
						end tell
					end tell
				end tell
			end tell
		end repeat
	end tell