adds stuff for attaching metadata to website; makes grid relocatable in database