Add run script for each app mode