Merge pull request #18 from Vhati/master

Major feature improvements
An invalid dir_res from the ini is ignored