script for getting and cleaning data