changed io to BINARY_DIR