add gemrc and other tweaks