Adding Nick's script