Fixes #1 replace deprecated split() with explode()