bug fix:  should be %~dp0