Added regenerate-slave.sh

Signed-off-by: Mate Lakat <mlakat@mlakat.hu>