fixed sqrler to use seccure and be python3 compatable