- added x flags to exportet scripts
- autodetect on first startup