Fixed syntax errors in password script