Finished backend scripts