Pandora port

Thanks to ptitSeb.