Changed order of the split; provision now checks for env variables