best practices for deadline scripts and non-.NET environment