added getMyUrl() function
fix for blog update script
added mobile_detect and Agent class