Fixed syntax errors...still new to shell scripting