add main exec on runserver api