modidfied beaconsave func add beacontime parm