a better duplicate line function
load contrib and my functions
fix shifting by removing upcase