fix init and reservation scripts