Added functionality for app starting