database, jade, script work