use subprocess and dont use app_initialized trigger