Script for nanDECK graphic tool