fixing dependencies and changed legacy file to support new Atlas Shell