rewrite recording and wget string