Modified pin rb file with s3 info