Rewrite console crawler script