Moved resource and app name into variables