Define directories in a more generic way.

Instead fo having 'complete' and 'ready' directories hardcoded inside
script, I have added them inside the existing cofiguration file.