main script added, readme fixed