Simplified code. Changed -o parameter to use the full OTRS path.