Improves documentation and logic in start-script.