Fix warnings

- arguments are provided directly from main
- Platform.script.path gives path