Added copy and paste

Bug with duplicating copies. Also, need to merge with newer code from
staging.