make app server command optional