Changed options back to integers and added checks for directories existing