Oops. Fixed a logic bug that prevented script from running.