set custom variables, move beautify into a hooks file