Even after #2 i have to execute the script a second time to set IP Adress and MAC Adress. Still have to investigate why