move command to separate script