Changing $params initialization to old array syntax

This allows for PHP 5.3 compatibility