removes sh extension form kill_user_agent