Fixed up the append_slash feature