cleaned up bundle paths; added new hooks for sorting links