Edit space handling for some scripts.