[FEATURE] Separate config from script

Thanks Sébastien

Fixes #3