Fixed script paths.
Moved config form.