updated regression scripts and general script to produce predictions