Didn't update the database cmds in last commit

Updated the database commands to include template and footer.