fixes scripts, removed errorLog

fixes missing authentication scripts when they're missing/malformed.

Giving up on the error logging. for now all that is removed.