The script for pack img