APPPATH is constant not variable