Attempts to get dynamic repository to work