Make cb in writeScripts optional