add system detection to stop the pain modifying admin.py again and again