initial import of paperplot script with demo