Script for NexusPHP