Fixed unattended script