All script related to database