reordered links and scripts so that the application works again