Add code to run app as standalone