Added function for loadstring