commit write card script
add argument check