Better localrc and drop functions