Adds route to run code on server