scripts now work with PHP 5.4!