script updates
Now using stored procedure for Feed page