Support for custom user scripts (pre-script) and better detecability

We use this feature in [potato-empires](https://github.com/bananu7/potato-empires/), because our haskell resides in subdirectory. I think it can be useful for others too.