Fixed upper case mac and id frontend/php.
Cleaned up script pop up box frontend/php.