added if local run switch to AppConstants

Examine if AppConstants is still going to be used…
Random Eclipse change