added legacy file to fix older plugins