Update main

Use a fixed variable instead of reading the cmdline.txt file all the time.