Added shell script for logging