prettify code
add activate script