Fixed command available flag not cleared. Added build option for project key.