local galleries dir
duh static
better variable names
missed a variable name change
add gallery definitions