add automation script for app