added generic shell scripting syntax and changed some prefs