creating script using