The invention encompasses compounds such as compounds having the Formula (I) or (II), compositions thereof, and methods of modulating CFTR activity. The invention also encompasses methods of treating a condition associated with CFTR activity or condition associated with a dysfunction of proteostasis comprising administering to a subject an effective amount of a disclosed compound.