better regex for enabling migration