adjusted for jr-php and jr-mysql.