Re-ordered profile to correct headers
Cleaned up device logging