Replace flow_id by user_id, atof by atoi.
Call link scheduler.
Bug fix: Make order of evaluation explicit.