automation script for Linux