rename elr -> emr
Remove unused custom vars, add autoload directive snippet