Could not execute the Script Details Query