Modified processing code for new script

Made current scripts and functions work with the output of
findbursts_gui