modify the asssets path and clean up the modals and partials