More compact script