added new script for extracting behavior data for each imaging frame