Added interpreter directive.
Modified check for successful creds.