add gallery plugin

remove old publish settings
remove comments code