added scripts for general data handling