Set branch and application folder