[WIP] New option detection method

- still working in return value
Add ignore files