added scripts for portal search