Backgrounded custom actions script