Read config from script path

Fixes #5