Added text to error message.
Removed wrong img dir creation