scripts php ugx fixed