upgrade to unity 4. Add check for correct modal filename