Check the existence of scriptDir
Version 0.4