Made the php script far more cool