Improved idea scoring script