ticket 9: made script write to static dir added sh