Old working script.