Speed up script dramatically