Quite rough scripting.