fixing run app code for non-container apps