updated image-medium.bb and copy script