fin init + script pseudo code read write