Added scriptPath variable.