Use global application temporary
Fix bash syntax