incorrect naming of alert dir and externalscripts dir variables