Activate sample from command line