update ignores
STORAGE_DIR was not defined
Remove the switch and put an assoc instead, add a block for scripts in the base.html