Fixed expanding of directory path
Fixed possibly wrong path to storage directory
Added possibility to define tasks in extension section in config file