script for computing features..