Minor updates to system cost script.