Added more testing variables in script mode.