Add wildcard for backend.
Add a missing return.
Make an own function for generate images.
Add a helper for crons.