0 || selectedScript === "") ? "Save Script" : "Delete Script"} >
Script
{#each scriptNames as scriptName}
{scriptName}
{/each}
New Script
{#if selectedScript === ""}
New Script Name
{/if}
{#if $selectedMasks.length > 0}
Run on Save
Don't Run
{#each $selectedMasks as option (option)}
{option}
{/each}
{/if}