Changed method of getting script's directory