Finally scripts working