Update commands.js

add frt and imgdeclare