new settings and some php snip love