SCP from code after generating badges