refactor dashboard with partials and fix script for albums