move sed stuff to prepare() function
add precompiled version