just to make things clearer I have added two scripts