obs: reworked scripts

Change-Id: Ib5ab4e029a074e588380008a626ad0ff2d6efb7f
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>