Re-adding handle create app function