rewrite of snippets fennec ETL