Template nearly working but solution dir does not take parameters