adjust scripts for cool so they could work with the updated frontend

Change-Id: Ied1a5fd8c21602c5f4c7a87e33ba77efdbdf021e