Running script through photoshop in the background...

Hello everyone. I have a script that runs a batch of stuff through photoshop, but would like photoshop to stay in the background while this is happening. Is there an easy way to do this?