Update database_script

Add separation for meta data, and remove visibility for media file