Added $ character support. $ characters are replaced with underscores(_).