Update main

Use a fixed variable instead of reading the cmdline.txt file all the time.

To be used with patch-4