Adding a reporter task.
Fix link_to_function deprecation warning.
SQL Query improvments