Define directories in a more generic way.

Instead of having 'complete' and 'ready' directories hardcoded inside script, I added them inside the existing configuration file.