Script from database