Fixing case where the script it run without path - dirname will be empty string
Fixing case where the script it run without path - dirname will be empty string

StingraySoftware/dave,StingraySoftware/dave,StingraySoftware/dave,StingraySoftware/dave