Pull resources from app
Check for null in contect template and added checking in instance