make motion require working inside application