Added global vars, multiple resource search and display