Improve create packet action