Updates in order to get the widget work without tpa.
Moved to php version scheme.