make document styles configurable
add style creation commands
fix alerts